package shc.graduation.http.getter;

import java.util.List;

import shc.graduation.http.HttpGetContent;
import shc.graduation.http.IHttpGetContent;

/**
 * Created by shuhuiChen on  2016/5/21  14:20.
 * Email ：shuhuiCSH@126.com
 */
public abstract class BaseGetter<T> implements IModelGetter<T> {
    public IHttpGetContent mIHttpGet = new HttpGetContent();
    public List<T> mListModel = null;

    public BaseGetter() {
        mIHttpGet.setEncode(getEncode());
    }

    @Override
    public abstract List<T> getModel(String websiteUrl);

    public abstract String getEncode();
}
